\(\int \sqrt {x} (a+b \text {csch}(c+d \sqrt {x}))^2 \, dx\) [57]

   Optimal result
   Rubi [A] (verified)
   Mathematica [B] (verified)
   Maple [F]
   Fricas [F]
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 22, antiderivative size = 209 \[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=-\frac {2 b^2 x}{d}+\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}+\frac {4 b^2 \sqrt {x} \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {2 b^2 \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {8 a b \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {8 a b \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3} \]

[Out]

-2*b^2*x/d+2/3*a^2*x^(3/2)-8*a*b*x*arctanh(exp(c+d*x^(1/2)))/d-2*b^2*x*coth(c+d*x^(1/2))/d+2*b^2*polylog(2,exp
(2*c+2*d*x^(1/2)))/d^3+8*a*b*polylog(3,-exp(c+d*x^(1/2)))/d^3-8*a*b*polylog(3,exp(c+d*x^(1/2)))/d^3+4*b^2*ln(1
-exp(2*c+2*d*x^(1/2)))*x^(1/2)/d^2-8*a*b*polylog(2,-exp(c+d*x^(1/2)))*x^(1/2)/d^2+8*a*b*polylog(2,exp(c+d*x^(1
/2)))*x^(1/2)/d^2

Rubi [A] (verified)

Time = 0.23 (sec) , antiderivative size = 209, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5545, 4275, 4267, 2611, 2320, 6724, 4269, 3797, 2221, 2317, 2438} \[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}+\frac {8 a b \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {8 a b \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {2 b^2 \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {4 b^2 \sqrt {x} \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}-\frac {2 b^2 x}{d} \]

[In]

Int[Sqrt[x]*(a + b*Csch[c + d*Sqrt[x]])^2,x]

[Out]

(-2*b^2*x)/d + (2*a^2*x^(3/2))/3 - (8*a*b*x*ArcTanh[E^(c + d*Sqrt[x])])/d - (2*b^2*x*Coth[c + d*Sqrt[x]])/d +
(4*b^2*Sqrt[x]*Log[1 - E^(2*(c + d*Sqrt[x]))])/d^2 - (8*a*b*Sqrt[x]*PolyLog[2, -E^(c + d*Sqrt[x])])/d^2 + (8*a
*b*Sqrt[x]*PolyLog[2, E^(c + d*Sqrt[x])])/d^2 + (2*b^2*PolyLog[2, E^(2*(c + d*Sqrt[x]))])/d^3 + (8*a*b*PolyLog
[3, -E^(c + d*Sqrt[x])])/d^3 - (8*a*b*PolyLog[3, E^(c + d*Sqrt[x])])/d^3

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2611

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(
f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Dist[g*(m/(b*c*n*Log[F])), Int[(f + g*
x)^(m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 3797

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + Pi*(k_.) + (Complex[0, fz_])*(f_.)*(x_)], x_Symbol] :> Simp[(-I)*((
c + d*x)^(m + 1)/(d*(m + 1))), x] + Dist[2*I, Int[((c + d*x)^m*(E^(2*((-I)*e + f*fz*x))/(1 + E^(2*((-I)*e + f*
fz*x))/E^(2*I*k*Pi))))/E^(2*I*k*Pi), x], x] /; FreeQ[{c, d, e, f, fz}, x] && IntegerQ[4*k] && IGtQ[m, 0]

Rule 4267

Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(Ar
cTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*
fz*x)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e + f*fz*x)], x], x]) /; FreeQ[{c,
 d, e, f, fz}, x] && IGtQ[m, 0]

Rule 4269

Int[csc[(e_.) + (f_.)*(x_)]^2*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(c + d*x)^m)*(Cot[e + f*x]/f), x
] + Dist[d*(m/f), Int[(c + d*x)^(m - 1)*Cot[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && GtQ[m, 0]

Rule 4275

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[
(c + d*x)^m, (a + b*Csc[e + f*x])^n, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && IGtQ[m, 0] && IGtQ[n, 0]

Rule 5545

Int[((a_.) + Csch[(c_.) + (d_.)*(x_)^(n_)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simpli
fy[(m + 1)/n] - 1)*(a + b*Csch[c + d*x])^p, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p}, x] && IGtQ[Simplif
y[(m + 1)/n], 0] && IntegerQ[p]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int x^2 (a+b \text {csch}(c+d x))^2 \, dx,x,\sqrt {x}\right ) \\ & = 2 \text {Subst}\left (\int \left (a^2 x^2+2 a b x^2 \text {csch}(c+d x)+b^2 x^2 \text {csch}^2(c+d x)\right ) \, dx,x,\sqrt {x}\right ) \\ & = \frac {2}{3} a^2 x^{3/2}+(4 a b) \text {Subst}\left (\int x^2 \text {csch}(c+d x) \, dx,x,\sqrt {x}\right )+\left (2 b^2\right ) \text {Subst}\left (\int x^2 \text {csch}^2(c+d x) \, dx,x,\sqrt {x}\right ) \\ & = \frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}-\frac {(8 a b) \text {Subst}\left (\int x \log \left (1-e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d}+\frac {(8 a b) \text {Subst}\left (\int x \log \left (1+e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d}+\frac {\left (4 b^2\right ) \text {Subst}\left (\int x \coth (c+d x) \, dx,x,\sqrt {x}\right )}{d} \\ & = -\frac {2 b^2 x}{d}+\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {(8 a b) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^2}-\frac {(8 a b) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^{c+d x}\right ) \, dx,x,\sqrt {x}\right )}{d^2}-\frac {\left (8 b^2\right ) \text {Subst}\left (\int \frac {e^{2 (c+d x)} x}{1-e^{2 (c+d x)}} \, dx,x,\sqrt {x}\right )}{d} \\ & = -\frac {2 b^2 x}{d}+\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}+\frac {4 b^2 \sqrt {x} \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {(8 a b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {(8 a b) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {\left (4 b^2\right ) \text {Subst}\left (\int \log \left (1-e^{2 (c+d x)}\right ) \, dx,x,\sqrt {x}\right )}{d^2} \\ & = -\frac {2 b^2 x}{d}+\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}+\frac {4 b^2 \sqrt {x} \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {8 a b \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3}-\frac {\left (2 b^2\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3} \\ & = -\frac {2 b^2 x}{d}+\frac {2}{3} a^2 x^{3/2}-\frac {8 a b x \text {arctanh}\left (e^{c+d \sqrt {x}}\right )}{d}-\frac {2 b^2 x \coth \left (c+d \sqrt {x}\right )}{d}+\frac {4 b^2 \sqrt {x} \log \left (1-e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^2}-\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,-e^{c+d \sqrt {x}}\right )}{d^2}+\frac {8 a b \sqrt {x} \operatorname {PolyLog}\left (2,e^{c+d \sqrt {x}}\right )}{d^2}+\frac {2 b^2 \operatorname {PolyLog}\left (2,e^{2 \left (c+d \sqrt {x}\right )}\right )}{d^3}+\frac {8 a b \operatorname {PolyLog}\left (3,-e^{c+d \sqrt {x}}\right )}{d^3}-\frac {8 a b \operatorname {PolyLog}\left (3,e^{c+d \sqrt {x}}\right )}{d^3} \\ \end{align*}

Mathematica [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(637\) vs. \(2(209)=418\).

Time = 2.34 (sec) , antiderivative size = 637, normalized size of antiderivative = 3.05 \[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=-\frac {12 b^2 d^2 x+2 a^2 d^3 x^{3/2}-2 a^2 d^3 e^{2 c} x^{3/2}+12 b^2 d \sqrt {x} \log \left (1-e^{-c-d \sqrt {x}}\right )-12 b^2 d e^{2 c} \sqrt {x} \log \left (1-e^{-c-d \sqrt {x}}\right )+12 a b d^2 x \log \left (1-e^{-c-d \sqrt {x}}\right )-12 a b d^2 e^{2 c} x \log \left (1-e^{-c-d \sqrt {x}}\right )+12 b^2 d \sqrt {x} \log \left (1+e^{-c-d \sqrt {x}}\right )-12 b^2 d e^{2 c} \sqrt {x} \log \left (1+e^{-c-d \sqrt {x}}\right )-12 a b d^2 x \log \left (1+e^{-c-d \sqrt {x}}\right )+12 a b d^2 e^{2 c} x \log \left (1+e^{-c-d \sqrt {x}}\right )+12 b \left (-1+e^{2 c}\right ) \left (b-2 a d \sqrt {x}\right ) \operatorname {PolyLog}\left (2,-e^{-c-d \sqrt {x}}\right )+12 b \left (-1+e^{2 c}\right ) \left (b+2 a d \sqrt {x}\right ) \operatorname {PolyLog}\left (2,e^{-c-d \sqrt {x}}\right )+24 a b \operatorname {PolyLog}\left (3,-e^{-c-d \sqrt {x}}\right )-24 a b e^{2 c} \operatorname {PolyLog}\left (3,-e^{-c-d \sqrt {x}}\right )-24 a b \operatorname {PolyLog}\left (3,e^{-c-d \sqrt {x}}\right )+24 a b e^{2 c} \operatorname {PolyLog}\left (3,e^{-c-d \sqrt {x}}\right )+3 b^2 d^2 x \text {csch}\left (\frac {c}{2}\right ) \text {csch}\left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right ) \sinh \left (\frac {d \sqrt {x}}{2}\right )-3 b^2 d^2 e^{2 c} x \text {csch}\left (\frac {c}{2}\right ) \text {csch}\left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right ) \sinh \left (\frac {d \sqrt {x}}{2}\right )-3 b^2 d^2 x \text {sech}\left (\frac {c}{2}\right ) \text {sech}\left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right ) \sinh \left (\frac {d \sqrt {x}}{2}\right )+3 b^2 d^2 e^{2 c} x \text {sech}\left (\frac {c}{2}\right ) \text {sech}\left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right ) \sinh \left (\frac {d \sqrt {x}}{2}\right )}{3 d^3 \left (-1+e^{2 c}\right )} \]

[In]

Integrate[Sqrt[x]*(a + b*Csch[c + d*Sqrt[x]])^2,x]

[Out]

-1/3*(12*b^2*d^2*x + 2*a^2*d^3*x^(3/2) - 2*a^2*d^3*E^(2*c)*x^(3/2) + 12*b^2*d*Sqrt[x]*Log[1 - E^(-c - d*Sqrt[x
])] - 12*b^2*d*E^(2*c)*Sqrt[x]*Log[1 - E^(-c - d*Sqrt[x])] + 12*a*b*d^2*x*Log[1 - E^(-c - d*Sqrt[x])] - 12*a*b
*d^2*E^(2*c)*x*Log[1 - E^(-c - d*Sqrt[x])] + 12*b^2*d*Sqrt[x]*Log[1 + E^(-c - d*Sqrt[x])] - 12*b^2*d*E^(2*c)*S
qrt[x]*Log[1 + E^(-c - d*Sqrt[x])] - 12*a*b*d^2*x*Log[1 + E^(-c - d*Sqrt[x])] + 12*a*b*d^2*E^(2*c)*x*Log[1 + E
^(-c - d*Sqrt[x])] + 12*b*(-1 + E^(2*c))*(b - 2*a*d*Sqrt[x])*PolyLog[2, -E^(-c - d*Sqrt[x])] + 12*b*(-1 + E^(2
*c))*(b + 2*a*d*Sqrt[x])*PolyLog[2, E^(-c - d*Sqrt[x])] + 24*a*b*PolyLog[3, -E^(-c - d*Sqrt[x])] - 24*a*b*E^(2
*c)*PolyLog[3, -E^(-c - d*Sqrt[x])] - 24*a*b*PolyLog[3, E^(-c - d*Sqrt[x])] + 24*a*b*E^(2*c)*PolyLog[3, E^(-c
- d*Sqrt[x])] + 3*b^2*d^2*x*Csch[c/2]*Csch[(c + d*Sqrt[x])/2]*Sinh[(d*Sqrt[x])/2] - 3*b^2*d^2*E^(2*c)*x*Csch[c
/2]*Csch[(c + d*Sqrt[x])/2]*Sinh[(d*Sqrt[x])/2] - 3*b^2*d^2*x*Sech[c/2]*Sech[(c + d*Sqrt[x])/2]*Sinh[(d*Sqrt[x
])/2] + 3*b^2*d^2*E^(2*c)*x*Sech[c/2]*Sech[(c + d*Sqrt[x])/2]*Sinh[(d*Sqrt[x])/2])/(d^3*(-1 + E^(2*c)))

Maple [F]

\[\int \left (a +b \,\operatorname {csch}\left (c +d \sqrt {x}\right )\right )^{2} \sqrt {x}d x\]

[In]

int((a+b*csch(c+d*x^(1/2)))^2*x^(1/2),x)

[Out]

int((a+b*csch(c+d*x^(1/2)))^2*x^(1/2),x)

Fricas [F]

\[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int { {\left (b \operatorname {csch}\left (d \sqrt {x} + c\right ) + a\right )}^{2} \sqrt {x} \,d x } \]

[In]

integrate((a+b*csch(c+d*x^(1/2)))^2*x^(1/2),x, algorithm="fricas")

[Out]

integral(b^2*sqrt(x)*csch(d*sqrt(x) + c)^2 + 2*a*b*sqrt(x)*csch(d*sqrt(x) + c) + a^2*sqrt(x), x)

Sympy [F]

\[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int \sqrt {x} \left (a + b \operatorname {csch}{\left (c + d \sqrt {x} \right )}\right )^{2}\, dx \]

[In]

integrate((a+b*csch(c+d*x**(1/2)))**2*x**(1/2),x)

[Out]

Integral(sqrt(x)*(a + b*csch(c + d*sqrt(x)))**2, x)

Maxima [A] (verification not implemented)

none

Time = 0.34 (sec) , antiderivative size = 264, normalized size of antiderivative = 1.26 \[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\frac {2}{3} \, a^{2} x^{\frac {3}{2}} - \frac {4 \, b^{2} x}{d e^{\left (2 \, d \sqrt {x} + 2 \, c\right )} - d} - \frac {4 \, {\left (d^{2} x \log \left (e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 2 \, d \sqrt {x} {\rm Li}_2\left (-e^{\left (d \sqrt {x} + c\right )}\right ) - 2 \, {\rm Li}_{3}(-e^{\left (d \sqrt {x} + c\right )})\right )} a b}{d^{3}} + \frac {4 \, {\left (d^{2} x \log \left (-e^{\left (d \sqrt {x} + c\right )} + 1\right ) + 2 \, d \sqrt {x} {\rm Li}_2\left (e^{\left (d \sqrt {x} + c\right )}\right ) - 2 \, {\rm Li}_{3}(e^{\left (d \sqrt {x} + c\right )})\right )} a b}{d^{3}} + \frac {4 \, {\left (d \sqrt {x} \log \left (e^{\left (d \sqrt {x} + c\right )} + 1\right ) + {\rm Li}_2\left (-e^{\left (d \sqrt {x} + c\right )}\right )\right )} b^{2}}{d^{3}} + \frac {4 \, {\left (d \sqrt {x} \log \left (-e^{\left (d \sqrt {x} + c\right )} + 1\right ) + {\rm Li}_2\left (e^{\left (d \sqrt {x} + c\right )}\right )\right )} b^{2}}{d^{3}} - \frac {2 \, {\left (2 \, a b d^{3} x^{\frac {3}{2}} + 3 \, b^{2} d^{2} x\right )}}{3 \, d^{3}} + \frac {2 \, {\left (2 \, a b d^{3} x^{\frac {3}{2}} - 3 \, b^{2} d^{2} x\right )}}{3 \, d^{3}} \]

[In]

integrate((a+b*csch(c+d*x^(1/2)))^2*x^(1/2),x, algorithm="maxima")

[Out]

2/3*a^2*x^(3/2) - 4*b^2*x/(d*e^(2*d*sqrt(x) + 2*c) - d) - 4*(d^2*x*log(e^(d*sqrt(x) + c) + 1) + 2*d*sqrt(x)*di
log(-e^(d*sqrt(x) + c)) - 2*polylog(3, -e^(d*sqrt(x) + c)))*a*b/d^3 + 4*(d^2*x*log(-e^(d*sqrt(x) + c) + 1) + 2
*d*sqrt(x)*dilog(e^(d*sqrt(x) + c)) - 2*polylog(3, e^(d*sqrt(x) + c)))*a*b/d^3 + 4*(d*sqrt(x)*log(e^(d*sqrt(x)
 + c) + 1) + dilog(-e^(d*sqrt(x) + c)))*b^2/d^3 + 4*(d*sqrt(x)*log(-e^(d*sqrt(x) + c) + 1) + dilog(e^(d*sqrt(x
) + c)))*b^2/d^3 - 2/3*(2*a*b*d^3*x^(3/2) + 3*b^2*d^2*x)/d^3 + 2/3*(2*a*b*d^3*x^(3/2) - 3*b^2*d^2*x)/d^3

Giac [F]

\[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int { {\left (b \operatorname {csch}\left (d \sqrt {x} + c\right ) + a\right )}^{2} \sqrt {x} \,d x } \]

[In]

integrate((a+b*csch(c+d*x^(1/2)))^2*x^(1/2),x, algorithm="giac")

[Out]

integrate((b*csch(d*sqrt(x) + c) + a)^2*sqrt(x), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )^2 \, dx=\int \sqrt {x}\,{\left (a+\frac {b}{\mathrm {sinh}\left (c+d\,\sqrt {x}\right )}\right )}^2 \,d x \]

[In]

int(x^(1/2)*(a + b/sinh(c + d*x^(1/2)))^2,x)

[Out]

int(x^(1/2)*(a + b/sinh(c + d*x^(1/2)))^2, x)